<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru">
<head>
<title>Сумкология.ру: {% Title %}</title>
<meta name="description" content="{% q < Description %}" />
<meta name="keywords" content="{% q < Keywords %}" />
<meta name="generator" content="MicroShop" />
<meta name="robots" content="index,follow" />
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<link rel="icon" type="image/vnd.microsoft.icon" href="{% q < THEME_URL %}/img/favicon.ico" />
<link rel="shortcut icon" type="image/x-icon" href="{% q < THEME_URL %}/img/favicon.ico" />
<link href="{% q < THEME_URL %}/css/global.css" rel="stylesheet" type="text/css" media="all" />
<script type="text/javascript" src="{% q < THEME_URL %}/js/jquery/jquery-min.js"></script>
<script type="text/javascript" src="{% q < THEME_URL %}/js/jquery/jquery-ui-min.js"></script>
<link type="text/css" href="{% q < THEME_URL %}/css/smoothness/jquery.css" rel="stylesheet" />
<script language="javascript">
function AddToCart(id){
	$('#button_order_cart').load('{% CartUrl %}',{method:"Buy",product:id});
}

function ResetCart(){
	$('#button_order_cart').load('{% CartUrl %}',{method:"CartReset"});	
}	
</script>
{% LoadResources %}
</head>
<body>
<center>
<div id="center_column" class="column">
			<div id="header">
				<div id="search_block">
					<form method="post" action="{% SearchUrl %}">
						<input class="search-query" type="text" name="search" value="" />
						<input type="submit" />
					</form>
				</div>

				<div id="mainmenu_container">
					<ul class="mainmenu">
						{%iterate MainMenu as lnk%}
							<li><a href="{% q < Link %}">{% u < context %}</a></li>
						{%iterate%}					
					</ul>
				</div>

				<div id="header_user">
					<div id="header_user_info">
						{%if User%}
							Добро пожаловать, <a class="profile-link" href="{% q < ProfileUrl %}">{% User %}</a>!
							<span class="logout-link">(<a href="{% q < LogoutUrl %}">Выйти</a>)</span>
						{%else%}
							<a class="auth-link" href="{% q < AuthUrl %}">Вход</a>
							<a class="reg-link" href="{% q < RegisterUrl %}">Регистрация</a>
						{%endif%}						
					</div>
				</div>
			</div>
			<div id="content_container">	
				<div id="logo">
					<a id="header_logo" href="{% q < APP_URL %}" title="На главную">
						<img class="logo" src="{% q < THEME_URL %}/img/fmheat5.png" />
					</a>
					<div id="shop-phone">ТЕЛ.:&nbsp;+7-917-590-06-56</div>
				</div>
				{%if IsExceptionThrown%}
				{%with Exception%}
				<div class="error-message">Ошибка: {% i <  getMessage %}</div>
				{%endwith%}
				{%endif%}